



/*json数据*/
var vm = new Vue({
    el:'#app',
    data:{
        message:"请求数据"
    },
    mounted(){
        axios
            .get("json/news.json")
            .then(response => (this.message = response.data.lists))
            .catch(function (error) {
            console.log(error);
        })
    }
})